let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n56,
                    i =
                    (this && this.__extends) ||
                    ((_n56 = function n(t, e) {
                            return (_n56 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n56(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.CardGridCom = void 0);
                var r = t('UIComponent'),
                    a = t('CardGridItem'),
                    s = (function(t) {
                        function e() {
                            return (null !== t && t.apply(this, arguments)) || this;
                        }
                        return (
                            i(e, t),
                            (e.prototype.onInit = function() {
                                t.prototype.onInit.call(this),
                                    (this.CardGridItem =
                                        this.view.getChildByName('CardGridItem')),
                                    (this.CardGridItem.parent = null),
                                    (this._cards = this.view.getChildByName('cards'));
                            }),
                            (e.prototype.addCard = function(t) {
                                var e = new a.CardGridItem(
                                    cc.instantiate(this.CardGridItem),
                                    t
                                );
                                this._cards.addChild(e.view), this.addCom(e);
                            }),
                            e
                        );
                    })(r.UIComponent);
                (o.CardGridCom = s), console.log("end");
            module.exports =  e.exports;